{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "12c36531-e127-418e-ac05-a83201882b28",
   "metadata": {
    "editable": true,
    "slideshow": {
     "slide_type": ""
    },
    "tags": []
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "local xlang server is starting"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "connecting to xlang server, try 1"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "connecting to xlang server failed, try in 1 sec"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "connecting to xlang server, try 2"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "connected to xlang server"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "xlang_connect()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "94b5126b-da93-4cb1-9a4c-e179f708aa97",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "return value: true"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "[\n",
       "\tapple,\n",
       "\tbanana,\n",
       "\tcherry\n",
       "]\n"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "return value: \"Invalid\""
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "[\n",
       "\tapple,\n",
       "\tbanana,\n",
       "\tcherry\n",
       "]\n"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "return value: \"Invalid\""
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "[\n",
       "\tapple,\n",
       "\tbanana,\n",
       "\tcherry\n",
       "]\n"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "text/plain": [
       "return value: \"Invalid\""
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "thislist = [\"apple\", \"banana\", \"cherry\"]\n",
    "print(thislist)\n",
    "print(thislist)\n",
    "print(thislist)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "50feac73-5745-48e3-81cf-e1eb92fa7630",
   "metadata": {
    "editable": true,
    "slideshow": {
     "slide_type": ""
    },
    "tags": []
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "55bb1643-6c90-4649-b930-2634077dc70b",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "xlang_kernel",
   "language": "python",
   "name": "xlang_kernel"
  },
  "language_info": {
   "codemirror_mode": "",
   "file_extension": "x",
   "mimetype": "text/x-python",
   "name": "xlang",
   "nbconvert_exporter": "",
   "pygments_lexer": "",
   "version": "0.1"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
